package com.xt.bean;


import org.springframework.data.mongodb.core.mapping.Document;


/**
 * 院系表
 * Created by XT on 2018/5/3.
 */
@Document(collection="tb_department")
public class Department extends BaseBean{

    private String name;
    private String[] specialtyIds;//院系所属的专业id
    private String[] teacherIds;//院系下老师的id

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String[] getSpecialtyIds() {
        return specialtyIds;
    }

    public void setSpecialtyIds(String[] specialtyIds) {
        this.specialtyIds = specialtyIds;
    }

    public String[] getTeacherIds() {
        return teacherIds;
    }

    public void setTeacherIds(String[] teacherIds) {
        this.teacherIds = teacherIds;
    }
}
